import {defineStore} from 'pinia'
import {ref} from 'vue'
export default defineStore("loginStore",()=>{
	let username=ref("张三");
	let changename=(n)=>{
		username.value=n;
	}
	return {
		username,changename
	}
})